package com.bh.common.enums;

import lombok.Getter;

/**
 * @Description
 * @Author slx
 * @Date 2024/3/29
 */
@Getter
public enum YesOrNo {
    Y(1, "是"),
    N(0, "否");

    private final Integer code;
    private final String desc;

    YesOrNo(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
